
from django.contrib import admin
from models import *

class PollAdmin(admin.ModelAdmin):
    pass
class PollVariantAdmin(admin.ModelAdmin):
    pass
class VoteAdmin(admin.ModelAdmin):
    fields = ['datetime', 'poll', 'poll_variant']
    pass
admin.site.register(Poll, PollAdmin)
admin.site.register(PollVariant, PollVariantAdmin)
admin.site.register(Vote, VoteAdmin)

